Optimal. Leaf size=320 \[ \frac{\left (21 \sqrt{a} B-5 A \sqrt{c}\right ) \log \left (-\sqrt{2} \sqrt [4]{a} \sqrt [4]{c} \sqrt{x}+\sqrt{a}+\sqrt{c} x\right )}{64 \sqrt{2} a^{3/4} c^{11/4}}-\frac{\left (21 \sqrt{a} B-5 A \sqrt{c}\right ) \log \left (\sqrt{2} \sqrt [4]{a} \sqrt [4]{c} \sqrt{x}+\sqrt{a}+\sqrt{c} x\right )}{64 \sqrt{2} a^{3/4} c^{11/4}}-\frac{\left (21 \sqrt{a} B+5 A \sqrt{c}\right ) \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{c} \sqrt{x}}{\sqrt [4]{a}}\right )}{32 \sqrt{2} a^{3/4} c^{11/4}}+\frac{\left (21 \sqrt{a} B+5 A \sqrt{c}\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{c} \sqrt{x}}{\sqrt [4]{a}}+1\right )}{32 \sqrt{2} a^{3/4} c^{11/4}}-\frac{\sqrt{x} (5 A+7 B x)}{16 c^2 \left (a+c x^2\right )}-\frac{x^{5/2} (A+B x)}{4 c \left (a+c x^2\right )^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.306181, antiderivative size = 320, normalized size of antiderivative = 1., number of steps used = 12, number of rules used = 8, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.4, Rules used = {819, 827, 1168, 1162, 617, 204, 1165, 628} \[ \frac{\left (21 \sqrt{a} B-5 A \sqrt{c}\right ) \log \left (-\sqrt{2} \sqrt [4]{a} \sqrt [4]{c} \sqrt{x}+\sqrt{a}+\sqrt{c} x\right )}{64 \sqrt{2} a^{3/4} c^{11/4}}-\frac{\left (21 \sqrt{a} B-5 A \sqrt{c}\right ) \log \left (\sqrt{2} \sqrt [4]{a} \sqrt [4]{c} \sqrt{x}+\sqrt{a}+\sqrt{c} x\right )}{64 \sqrt{2} a^{3/4} c^{11/4}}-\frac{\left (21 \sqrt{a} B+5 A \sqrt{c}\right ) \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{c} \sqrt{x}}{\sqrt [4]{a}}\right )}{32 \sqrt{2} a^{3/4} c^{11/4}}+\frac{\left (21 \sqrt{a} B+5 A \sqrt{c}\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{c} \sqrt{x}}{\sqrt [4]{a}}+1\right )}{32 \sqrt{2} a^{3/4} c^{11/4}}-\frac{\sqrt{x} (5 A+7 B x)}{16 c^2 \left (a+c x^2\right )}-\frac{x^{5/2} (A+B x)}{4 c \left (a+c x^2\right )^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 819
Rule 827
Rule 1168
Rule 1162
Rule 617
Rule 204
Rule 1165
Rule 628
Rubi steps
\begin{align*} \int \frac{x^{7/2} (A+B x)}{\left (a+c x^2\right )^3} \, dx &=-\frac{x^{5/2} (A+B x)}{4 c \left (a+c x^2\right )^2}+\frac{\int \frac{x^{3/2} \left (\frac{5 a A}{2}+\frac{7 a B x}{2}\right )}{\left (a+c x^2\right )^2} \, dx}{4 a c}\\ &=-\frac{x^{5/2} (A+B x)}{4 c \left (a+c x^2\right )^2}-\frac{\sqrt{x} (5 A+7 B x)}{16 c^2 \left (a+c x^2\right )}+\frac{\int \frac{\frac{5 a^2 A}{4}+\frac{21}{4} a^2 B x}{\sqrt{x} \left (a+c x^2\right )} \, dx}{8 a^2 c^2}\\ &=-\frac{x^{5/2} (A+B x)}{4 c \left (a+c x^2\right )^2}-\frac{\sqrt{x} (5 A+7 B x)}{16 c^2 \left (a+c x^2\right )}+\frac{\operatorname{Subst}\left (\int \frac{\frac{5 a^2 A}{4}+\frac{21}{4} a^2 B x^2}{a+c x^4} \, dx,x,\sqrt{x}\right )}{4 a^2 c^2}\\ &=-\frac{x^{5/2} (A+B x)}{4 c \left (a+c x^2\right )^2}-\frac{\sqrt{x} (5 A+7 B x)}{16 c^2 \left (a+c x^2\right )}-\frac{\left (21 B-\frac{5 A \sqrt{c}}{\sqrt{a}}\right ) \operatorname{Subst}\left (\int \frac{\sqrt{a} \sqrt{c}-c x^2}{a+c x^4} \, dx,x,\sqrt{x}\right )}{32 c^3}+\frac{\left (21 B+\frac{5 A \sqrt{c}}{\sqrt{a}}\right ) \operatorname{Subst}\left (\int \frac{\sqrt{a} \sqrt{c}+c x^2}{a+c x^4} \, dx,x,\sqrt{x}\right )}{32 c^3}\\ &=-\frac{x^{5/2} (A+B x)}{4 c \left (a+c x^2\right )^2}-\frac{\sqrt{x} (5 A+7 B x)}{16 c^2 \left (a+c x^2\right )}+\frac{\left (21 B+\frac{5 A \sqrt{c}}{\sqrt{a}}\right ) \operatorname{Subst}\left (\int \frac{1}{\frac{\sqrt{a}}{\sqrt{c}}-\frac{\sqrt{2} \sqrt [4]{a} x}{\sqrt [4]{c}}+x^2} \, dx,x,\sqrt{x}\right )}{64 c^3}+\frac{\left (21 B+\frac{5 A \sqrt{c}}{\sqrt{a}}\right ) \operatorname{Subst}\left (\int \frac{1}{\frac{\sqrt{a}}{\sqrt{c}}+\frac{\sqrt{2} \sqrt [4]{a} x}{\sqrt [4]{c}}+x^2} \, dx,x,\sqrt{x}\right )}{64 c^3}+\frac{\left (21 \sqrt{a} B-5 A \sqrt{c}\right ) \operatorname{Subst}\left (\int \frac{\frac{\sqrt{2} \sqrt [4]{a}}{\sqrt [4]{c}}+2 x}{-\frac{\sqrt{a}}{\sqrt{c}}-\frac{\sqrt{2} \sqrt [4]{a} x}{\sqrt [4]{c}}-x^2} \, dx,x,\sqrt{x}\right )}{64 \sqrt{2} a^{3/4} c^{11/4}}+\frac{\left (21 \sqrt{a} B-5 A \sqrt{c}\right ) \operatorname{Subst}\left (\int \frac{\frac{\sqrt{2} \sqrt [4]{a}}{\sqrt [4]{c}}-2 x}{-\frac{\sqrt{a}}{\sqrt{c}}+\frac{\sqrt{2} \sqrt [4]{a} x}{\sqrt [4]{c}}-x^2} \, dx,x,\sqrt{x}\right )}{64 \sqrt{2} a^{3/4} c^{11/4}}\\ &=-\frac{x^{5/2} (A+B x)}{4 c \left (a+c x^2\right )^2}-\frac{\sqrt{x} (5 A+7 B x)}{16 c^2 \left (a+c x^2\right )}+\frac{\left (21 \sqrt{a} B-5 A \sqrt{c}\right ) \log \left (\sqrt{a}-\sqrt{2} \sqrt [4]{a} \sqrt [4]{c} \sqrt{x}+\sqrt{c} x\right )}{64 \sqrt{2} a^{3/4} c^{11/4}}-\frac{\left (21 \sqrt{a} B-5 A \sqrt{c}\right ) \log \left (\sqrt{a}+\sqrt{2} \sqrt [4]{a} \sqrt [4]{c} \sqrt{x}+\sqrt{c} x\right )}{64 \sqrt{2} a^{3/4} c^{11/4}}+\frac{\left (21 \sqrt{a} B+5 A \sqrt{c}\right ) \operatorname{Subst}\left (\int \frac{1}{-1-x^2} \, dx,x,1-\frac{\sqrt{2} \sqrt [4]{c} \sqrt{x}}{\sqrt [4]{a}}\right )}{32 \sqrt{2} a^{3/4} c^{11/4}}-\frac{\left (21 \sqrt{a} B+5 A \sqrt{c}\right ) \operatorname{Subst}\left (\int \frac{1}{-1-x^2} \, dx,x,1+\frac{\sqrt{2} \sqrt [4]{c} \sqrt{x}}{\sqrt [4]{a}}\right )}{32 \sqrt{2} a^{3/4} c^{11/4}}\\ &=-\frac{x^{5/2} (A+B x)}{4 c \left (a+c x^2\right )^2}-\frac{\sqrt{x} (5 A+7 B x)}{16 c^2 \left (a+c x^2\right )}-\frac{\left (21 \sqrt{a} B+5 A \sqrt{c}\right ) \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{c} \sqrt{x}}{\sqrt [4]{a}}\right )}{32 \sqrt{2} a^{3/4} c^{11/4}}+\frac{\left (21 \sqrt{a} B+5 A \sqrt{c}\right ) \tan ^{-1}\left (1+\frac{\sqrt{2} \sqrt [4]{c} \sqrt{x}}{\sqrt [4]{a}}\right )}{32 \sqrt{2} a^{3/4} c^{11/4}}+\frac{\left (21 \sqrt{a} B-5 A \sqrt{c}\right ) \log \left (\sqrt{a}-\sqrt{2} \sqrt [4]{a} \sqrt [4]{c} \sqrt{x}+\sqrt{c} x\right )}{64 \sqrt{2} a^{3/4} c^{11/4}}-\frac{\left (21 \sqrt{a} B-5 A \sqrt{c}\right ) \log \left (\sqrt{a}+\sqrt{2} \sqrt [4]{a} \sqrt [4]{c} \sqrt{x}+\sqrt{c} x\right )}{64 \sqrt{2} a^{3/4} c^{11/4}}\\ \end{align*}
Mathematica [A] time = 0.55415, size = 385, normalized size = 1.2 \[ \frac{-\frac{5 \sqrt{2} a^{5/4} A \log \left (-\sqrt{2} \sqrt [4]{a} \sqrt [4]{c} \sqrt{x}+\sqrt{a}+\sqrt{c} x\right )}{c^{9/4}}+\frac{5 \sqrt{2} a^{5/4} A \log \left (\sqrt{2} \sqrt [4]{a} \sqrt [4]{c} \sqrt{x}+\sqrt{a}+\sqrt{c} x\right )}{c^{9/4}}-\frac{10 \sqrt{2} a^{5/4} A \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{c} \sqrt{x}}{\sqrt [4]{a}}\right )}{c^{9/4}}+\frac{10 \sqrt{2} a^{5/4} A \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{c} \sqrt{x}}{\sqrt [4]{a}}+1\right )}{c^{9/4}}-\frac{40 a A \sqrt{x}}{c^2}-\frac{8 A x^{9/2}}{a+c x^2}+\frac{32 a A x^{9/2}}{\left (a+c x^2\right )^2}-\frac{56 a B x^{3/2}}{c^2}+\frac{84 (-a)^{7/4} B \tan ^{-1}\left (\frac{\sqrt [4]{c} \sqrt{x}}{\sqrt [4]{-a}}\right )}{c^{11/4}}+\frac{84 (-a)^{3/4} a B \tanh ^{-1}\left (\frac{\sqrt [4]{c} \sqrt{x}}{\sqrt [4]{-a}}\right )}{c^{11/4}}-\frac{24 B x^{11/2}}{a+c x^2}+\frac{32 a B x^{11/2}}{\left (a+c x^2\right )^2}+\frac{8 A x^{5/2}}{c}+\frac{24 B x^{7/2}}{c}}{128 a^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.016, size = 327, normalized size = 1. \begin{align*} 2\,{\frac{1}{ \left ( c{x}^{2}+a \right ) ^{2}} \left ( -{\frac{11\,B{x}^{7/2}}{32\,c}}-{\frac{9\,A{x}^{5/2}}{32\,c}}-{\frac{7\,aB{x}^{3/2}}{32\,{c}^{2}}}-{\frac{5\,aA\sqrt{x}}{32\,{c}^{2}}} \right ) }+{\frac{5\,A\sqrt{2}}{128\,a{c}^{2}}\sqrt [4]{{\frac{a}{c}}}\ln \left ({ \left ( x+\sqrt [4]{{\frac{a}{c}}}\sqrt{x}\sqrt{2}+\sqrt{{\frac{a}{c}}} \right ) \left ( x-\sqrt [4]{{\frac{a}{c}}}\sqrt{x}\sqrt{2}+\sqrt{{\frac{a}{c}}} \right ) ^{-1}} \right ) }+{\frac{5\,A\sqrt{2}}{64\,a{c}^{2}}\sqrt [4]{{\frac{a}{c}}}\arctan \left ({\sqrt{2}\sqrt{x}{\frac{1}{\sqrt [4]{{\frac{a}{c}}}}}}+1 \right ) }+{\frac{5\,A\sqrt{2}}{64\,a{c}^{2}}\sqrt [4]{{\frac{a}{c}}}\arctan \left ({\sqrt{2}\sqrt{x}{\frac{1}{\sqrt [4]{{\frac{a}{c}}}}}}-1 \right ) }+{\frac{21\,B\sqrt{2}}{128\,{c}^{3}}\ln \left ({ \left ( x-\sqrt [4]{{\frac{a}{c}}}\sqrt{x}\sqrt{2}+\sqrt{{\frac{a}{c}}} \right ) \left ( x+\sqrt [4]{{\frac{a}{c}}}\sqrt{x}\sqrt{2}+\sqrt{{\frac{a}{c}}} \right ) ^{-1}} \right ){\frac{1}{\sqrt [4]{{\frac{a}{c}}}}}}+{\frac{21\,B\sqrt{2}}{64\,{c}^{3}}\arctan \left ({\sqrt{2}\sqrt{x}{\frac{1}{\sqrt [4]{{\frac{a}{c}}}}}}+1 \right ){\frac{1}{\sqrt [4]{{\frac{a}{c}}}}}}+{\frac{21\,B\sqrt{2}}{64\,{c}^{3}}\arctan \left ({\sqrt{2}\sqrt{x}{\frac{1}{\sqrt [4]{{\frac{a}{c}}}}}}-1 \right ){\frac{1}{\sqrt [4]{{\frac{a}{c}}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.54298, size = 2326, normalized size = 7.27 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.35261, size = 396, normalized size = 1.24 \begin{align*} -\frac{11 \, B c x^{\frac{7}{2}} + 9 \, A c x^{\frac{5}{2}} + 7 \, B a x^{\frac{3}{2}} + 5 \, A a \sqrt{x}}{16 \,{\left (c x^{2} + a\right )}^{2} c^{2}} + \frac{\sqrt{2}{\left (5 \, \left (a c^{3}\right )^{\frac{1}{4}} A c^{2} + 21 \, \left (a c^{3}\right )^{\frac{3}{4}} B\right )} \arctan \left (\frac{\sqrt{2}{\left (\sqrt{2} \left (\frac{a}{c}\right )^{\frac{1}{4}} + 2 \, \sqrt{x}\right )}}{2 \, \left (\frac{a}{c}\right )^{\frac{1}{4}}}\right )}{64 \, a c^{5}} + \frac{\sqrt{2}{\left (5 \, \left (a c^{3}\right )^{\frac{1}{4}} A c^{2} + 21 \, \left (a c^{3}\right )^{\frac{3}{4}} B\right )} \arctan \left (-\frac{\sqrt{2}{\left (\sqrt{2} \left (\frac{a}{c}\right )^{\frac{1}{4}} - 2 \, \sqrt{x}\right )}}{2 \, \left (\frac{a}{c}\right )^{\frac{1}{4}}}\right )}{64 \, a c^{5}} + \frac{\sqrt{2}{\left (5 \, \left (a c^{3}\right )^{\frac{1}{4}} A c^{2} - 21 \, \left (a c^{3}\right )^{\frac{3}{4}} B\right )} \log \left (\sqrt{2} \sqrt{x} \left (\frac{a}{c}\right )^{\frac{1}{4}} + x + \sqrt{\frac{a}{c}}\right )}{128 \, a c^{5}} - \frac{\sqrt{2}{\left (5 \, \left (a c^{3}\right )^{\frac{1}{4}} A c^{2} - 21 \, \left (a c^{3}\right )^{\frac{3}{4}} B\right )} \log \left (-\sqrt{2} \sqrt{x} \left (\frac{a}{c}\right )^{\frac{1}{4}} + x + \sqrt{\frac{a}{c}}\right )}{128 \, a c^{5}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]